package com.chenfeng.ego.rest.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.chenfeng.ego.commons.pojo.BigPic;
import com.chenfeng.ego.rest.service.ShowPicService;

@Controller
public class PicShowController
{
	@Resource
	ShowPicService showPicService;
	@RequestMapping("showPic")
	@ResponseBody
	//展示图片的集合
	public List<BigPic> showPic()
	{
		return this.showPicService.showPic();
	}
}
